package com.x.erp.dao;

import java.util.ArrayList;
import java.util.List;

import org.springframework.stereotype.Repository;

import com.x.erp.model.CarType;
import com.x.framework.dao.BaseDao;
@Repository
public class CarTypeDao extends BaseDao {

	/**
	 * 查询车辆类型
	 * @param carType
	 * @return
	 * @throws Exception 
	 */
	private final static String selectCarTypeListSql = "SELECT * FROM BASE_CAR_TYPE";
	public List<CarType> selectCarTypeList(CarType carType) throws Exception {
		List<Object> params = new ArrayList<Object>();
		return this.queryForList(selectCarTypeListSql, CarType.class, params);
	}
}
